<?php
// authors users edit page
require_once 'view/adm/users/authors.index.php';
require_once 'control/adm/users/authors/form.php';

class AuthorUsersEditPage extends PageController {

	var $form;

    function AuthorUsersEditPage() {
        parent::PageController();
        $this->form =& new AuthorUsersFormController();
        $this->addChild('UserForm', $this->form);
        $this->setDefaultChild('UserForm');

        //$listview =& new AdminUsersListView('/adm/users/administrators.index.html');
        $this->setDefaultView(new Handle('AuthorUsersListView', array('/adm/users/authors.index.html')));
        //$listview =& new AdminUsersListView('/adm/users/test.html');
        //$this->addView('index', $listview);

        //$this->setDefaultView('index');

        $this->addView('success', WACT_DEFAULT_VIEW);
        $this->addView('notfound', WACT_DEFAULT_VIEW);
        $this->addView('delete', new Handle('RedirectView', array('/delete')));
    }
}

?>